package com.gaff.emp.core.modules.perm.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gaff.emp.core.modules.perm.entity.SysMenu;
import com.gaff.emp.core.modules.perm.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysRoleDao extends BaseMapper<SysRole> {

    List<SysMenu> queryMenusByRoleId(Integer roleId);

}
